import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SCrossBossJoin
    
    export  class SCrossBossJoin
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.entityId.__write(arg1);
            arg1.writeInt(this.playerNum);
            arg1.writeInt(this.combat);
            arg1.writeString(this.guildName);
            arg1.writeInt(this.guildCamp);
            arg1.writeInt(this.guildLevel);
            arg1.writeInt(this.copyType);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.playerNum = arg1.readInt();
            this.combat = arg1.readInt();
            this.guildName = arg1.readString();
            this.guildCamp = arg1.readInt();
            this.guildLevel = arg1.readInt();
            this.copyType = arg1.readInt();
            return;
        }

        public /* var */entityId: SEntityId;

        public /* var */playerNum: int;

        public /* var */combat: int;

        public /* var */guildName: string;

        public /* var */guildCamp: int;

        public /* var */guildLevel: int;

        public /* var */copyType: int;
    }
